package business

import (
	"context"
	"github.com/streadway/amqp"
)

type DeadLetterQueue struct {
	Implementation
}

func (deadLetter *DeadLetterQueue) Init() {
	//初始化重试脚本
	deadLetter.Implementation.Init()
}

/**
 * 配置文件名称
 */
func (deadLetter *DeadLetterQueue) GetConfigKey() string {
	return "golang-manage-admin.dead.letter"
}

/**
 * 队列消费
 */
func (deadLetter *DeadLetterQueue) Delivery(ctx context.Context, msg amqp.Delivery) {
	return
}
